<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<title>无标题文档</title>
</head>
<style type="text/css">
	.content {
		overflow: hidden;
	}

	.left {
		width: 120px;
		background-color: #0F0;
		height: 100px;
		float: left;
	}

	.right {
		background-color: #F00;
		height: 100px;
		margin-left: 120px;
	}
</style>

<body>
	<div class="content">
		<div class="left">
		</div>
		<div class="right">
		</div>
	</div>
</body>

</html>